package com.inossem.warehousestorage_inossem.bean.refundStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * 作者：wsy on 2017/12/26 15:49
 * <p>
 * 邮箱：445979770@qq.com
 */

public class RefundStorageReservedConfirmRequestBean extends Bean {


    /**
     * refer_receipt_code : 预留单号
     * return_id : 退库单号
     * remark : 备注信息
     * user_list : [{"user_id":"111","role_id":"14"},{"user_id":"222","role_id":"14"}]
     * item_list : [{"rid":"序号1","reserve_rid":"预留行项目号1","return_qty":"22","batch_spec_list":[{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11"},{"batch_spec_code":"ZYXQ","batch_spec_value":"2012-12-12"}],"batch_material_spec_list":[{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_name","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_rid","batch_spec_value":"2012"},{"batch_spec_code":"demand_dept","batch_spec_value":"2012-12-11"}]}]
     */

    private String refer_receipt_code;
    private String return_id;
    private String remark;
    private List<UserListBean> user_list;
    private List<ItemListBean> item_list;

    public String getRefer_receipt_code() {
        return refer_receipt_code;
    }

    public void setRefer_receipt_code(String refer_receipt_code) {
        this.refer_receipt_code = refer_receipt_code;
    }

    public String getReturn_id() {
        return return_id;
    }

    public void setReturn_id(String return_id) {
        this.return_id = return_id;
    }

//    public String getReserve_cost_obj_code() {
//        return reserve_cost_obj_code;
//    }
//
//    public void setReserve_cost_obj_code(String reserve_cost_obj_code) {
//        this.reserve_cost_obj_code = reserve_cost_obj_code;
//    }
//
//    public String getReserve_cost_obj_name() {
//        return reserve_cost_obj_name;
//    }
//
//    public void setReserve_cost_obj_name(String reserve_cost_obj_name) {
//        this.reserve_cost_obj_name = reserve_cost_obj_name;
//    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<UserListBean> getUser_list() {
        return user_list;
    }

    public void setUser_list(List<UserListBean> user_list) {
        this.user_list = user_list;
    }

    public List<ItemListBean> getItem_list() {
        return item_list;
    }

    public void setItem_list(List<ItemListBean> item_list) {
        this.item_list = item_list;
    }

    public static class UserListBean {
        /**
         * user_id : 111
         * role_id : 14
         */

        private String user_id;
        private String role_id;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getRole_id() {
            return role_id;
        }

        public void setRole_id(String role_id) {
            this.role_id = role_id;
        }
    }

    public static class ItemListBean {
        /**
         * rid : 序号1
         * reserve_rid : 预留行项目号1
         * return_qty : 22
         * batch_spec_list : [{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11"},{"batch_spec_code":"ZYXQ","batch_spec_value":"2012-12-12"}]
         * batch_material_spec_list : [{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_name","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_rid","batch_spec_value":"2012"},{"batch_spec_code":"demand_dept","batch_spec_value":"2012-12-11"}]
         */

        private String rid;
        private String refer_receipt_rid;
        private String qty;
        private List<BatchSpecListBean> batch_spec_list;
        private List<BatchSpecListBean> batch_material_spec_list;
        private String batch;

        public String getBatch() {
            return batch;
        }

        public void setBatch(String batch) {
            this.batch = batch;
        }

        public String getRid() {
            return rid;
        }

        public void setRid(String rid) {
            this.rid = rid;
        }

        public String getReserve_rid() {
            return refer_receipt_rid;
        }

        public void setReserve_rid(String reserve_rid) {
            this.refer_receipt_rid = reserve_rid;
        }

        public String getReturn_qty() {
            return qty;
        }

        public void setReturn_qty(String qty) {
            this.qty = qty;
        }

        public List<BatchSpecListBean> getBatch_spec_list() {
            return batch_spec_list;
        }

        public void setBatch_spec_list(List<BatchSpecListBean> batch_spec_list) {
            this.batch_spec_list = batch_spec_list;
        }

        public List<BatchSpecListBean> getBatch_material_spec_list() {
            return batch_material_spec_list;
        }

        public void setBatch_material_spec_list(List<BatchSpecListBean> batch_material_spec_list) {
            this.batch_material_spec_list = batch_material_spec_list;
        }

        public static class BatchSpecListBean {
            /**
             * batch_spec_code : ZSCRQ
             * batch_spec_value : 2012-12-11
             */

            private String batch_spec_code;
            private String batch_spec_value;

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }
        }

        public static class BatchMaterialSpecListBean {
            /**
             * batch_spec_code : production_time
             * batch_spec_value : 2012-12-11
             */

            private String batch_spec_code;
            private String batch_spec_value;

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }
        }
    }
}
